package com.ybf.api.service;

import com.ybf.api.entity.PageRequest;
import com.ybf.api.entity.PageResult;
import com.ybf.api.entity.User;

public interface UserService {
    public User login(String username, String password);

    public Boolean logout();

    public PageResult<User> list(User user, PageRequest pageRequest);

    public User info(Integer id);

    public Boolean delete(Integer id);

    public Integer edit(User user);
}
